package com.ruoyi.household.service;

import java.util.List;
import com.ruoyi.household.domain.SysHousehold;

/**
 * 住户表Service接口
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public interface ISysHouseholdService 
{
    /**
     * 查询住户表
     * 
     * @param id 住户表主键
     * @return 住户表
     */
    public SysHousehold selectSysHouseholdById(Integer id);

    /**
     * 查询住户表列表
     * 
     * @param sysHousehold 住户表
     * @return 住户表集合
     */
    public List<SysHousehold> selectSysHouseholdList(SysHousehold sysHousehold);

    /**
     * 新增住户表
     * 
     * @param sysHousehold 住户表
     * @return 结果
     */
    public int insertSysHousehold(SysHousehold sysHousehold);

    /**
     * 修改住户表
     * 
     * @param sysHousehold 住户表
     * @return 结果
     */
    public int updateSysHousehold(SysHousehold sysHousehold);

    /**
     * 批量删除住户表
     * 
     * @param ids 需要删除的住户表主键集合
     * @return 结果
     */
    public int deleteSysHouseholdByIds(Integer[] ids);

    /**
     * 删除住户表信息
     * 
     * @param id 住户表主键
     * @return 结果
     */
    public int deleteSysHouseholdById(Integer id);


    SysHousehold selectName(String buildingName);


    SysHousehold selectBystatu(int i);
}
